package com.sofwin.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.sofwin.mapper.SDeptMapper;
import com.sofwin.pojo.SDept;
import com.sofwin.service.DeptService;
@Service
public class DeptServiceImpl implements DeptService {

	@Autowired
	private SDeptMapper mapper;
	@Override
	public List<SDept> listDepts() {
		return mapper.selectByExample(null);
	}

}
